package com.whq.mvc.base.designpattern.state;

public class ConnectingState implements ConnectState{

    private ConnectMachine machine;

    public ConnectingState(ConnectMachine machine) {
        this.machine = machine;
    }

    @Override
    public void handleRequest() {
        waitingConnect();
    }

    private void waitingConnect() {
        System.out.println("正在连接");
    }
}
